Add PR reviewer TaskSpawner for automated code review#413
Closed
axon-agent[bot] wants to merge 1 commit intomainfrom
Closed
Add PR reviewer TaskSpawner for automated code review#413axon-agent[bot] wants to merge 1 commit intomainfrom
axon-agent[bot] wants to merge 1 commit intomainfrom
Conversation
Add axon-pr-reviewer.yaml to self-development/, providing automated PR code review using the existing types: ["pulls"] capability. This addresses the need to replace third-party PR review bots (cubic-dev-ai) with Axon's own infrastructure. The reviewer polls for open PRs labeled ok-to-test, checks out the PR branch, reads the full diff, runs make verify and make test, and posts a structured review via the GitHub API. It uses Sonnet for cost efficiency and includes idempotency guards to skip re-reviewing unchanged PRs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
|
closed in favor of #409 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
self-development/axon-pr-reviewer.yaml— a new TaskSpawner that automatically reviews pull requests, directly addressing Replace cubic-dev-ai app #408 (replacing cubic-dev-ai)self-development/README.mdto document the new spawner and its review cycletypes: ["pulls"], demonstrating PR-driven automationMotivation
Issue #408 identifies the need to replace the third-party cubic-dev-ai PR review bot with Axon's own capabilities. The existing TaskSpawner infrastructure already supports
types: ["pulls"]for discovering PRs, but no self-development config existed to leverage this. This PR fills that gap with a production-ready PR reviewer.Design decisions
ok-to-testlabel filterHow it works
ok-to-testaxon-pr-reviewer-<PR#>)make verifyandmake testTest plan
ok-to-testlabel and verify a review Task is createdok-to-testare not reviewedCloses #408
🤖 Generated with Claude Code
Summary by cubic
Adds a TaskSpawner that automatically reviews PRs labeled ok-to-test, replacing the cubic-dev-ai bot and moving reviews in-house. Speeds up feedback with a 3-minute poll and PR-driven automation.
Written for commit eb9c023. Summary will update on new commits.